import axios from './request.js'
//用户名密码登录
export const getLoginByUsername = (params) => {
    return axios({
        url: "/app/auth/loginByUsername",
        method: "post",
        data: params
    })
}

// 根据昵称和平台搜索评论内容
export const getSearchComment = (params) => {
    return axios({
        url: "/searchComment/",
        method: "post",
        data: params
    })
}